package dao.mapper;
import java.sql.SQLException;
import java.util.List;

import entity.SizetbEntity;
/**
 *@author JiangFan
 */
public interface SizetbDAOI {
    /**
     * @param size_name 根据尺寸名查询尺寸列表是否存在该尺寸
     * @return
     */
    SizetbEntity selectSizeOne (String size_name) throws SQLException, ClassNotFoundException;

    /**
     * @return 查询所有尺寸列表信息
     */
    List<SizetbEntity> selectSizeAll ()
            throws ClassNotFoundException, SQLException, InstantiationException, IllegalAccessException;

    /**
     * @param se 在尺寸列表添加尺寸值
     *
     * @return
     */
    int insertSize (SizetbEntity se) throws SQLException, ClassNotFoundException;

}